* {
  touch-action: pan-y; /*错误提示Unable to preventDefault inside passive event listener解决方法*/
}
/* 改变默认复制颜色 */
::selection {
  color: #fff;
  background: #f4a460;
}
::-moz-selection {
  color: #fff;
  background: #f4a460;
}
::-webkit-selection {
  color: #fff;
  background: #f4a460;
}

.section {
  padding-top: 1.875rem !important;
}

span.nav a {
  color: #000 !important;
}
.el-drawer {
  width: auto !important;
}

.search .el-drawer__header {
  margin-bottom: 0 !important;
}
input {
  color: #0a1b4f !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

label {
  font-size: 16px !important;
}
.el-collapse-item__header {
  font-size: 1.2em !important;
}
/* 表单处理 */
.my-el-form-item {
  margin-bottom: 0px !important ;
}
.myfrom .el-form-item__label {
  padding: 0 !important;
  padding-top: 6px !important;
}
.myfrom .el-form-item__content {
  margin-left: 0 !important;
}
.myfrom .el-form-item__label {
  text-align: start;
}
.myfrom .el-input-group__append {
  padding: 0 6px !important;
}
.myfrom .el-form-item__error {
  color: #606266 !important;
}
.el-progress__text {
  margin-left: 50px !important;
}
.el-submenu__title,
.el-menu-item {
  display: flex !important;
  padding-left: 15px !important;
}
.el-submenu .el-menu-item {
  padding-left: 60px !important;
}
.el-textarea .el-textarea__inner {
  min-height: 135px !important;
}
.el-textarea .el-textarea__inner::-webkit-scrollbar {
  overflow: scroll;
  width: 0 !important;
}
.el-tooltip__popper {
  max-width: 50%;
}
.message .el-form-item__content {
  margin-left: 100px !important;
  margin-right: 100px !important;
}

/* 单行文本溢出处理*/
.my-text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 卡片样式通过以处理 */
.my-card {
  transition: all 0.3s;
  border-radius: 12px 8px 8px 12px;
}
.my-card:hover {
  box-shadow: 0 4px 12px 12px rgba(7, 17, 27, 0.15);
}
/* 隐藏滚动tiao */
.my-scroll::-webkit-scrollbar {
  overflow: scroll;
  width: 0 !important;
}
.my-scroll {
  overflow: -moz-scrollbars-none;
}
/* 过度效果 */
.my-transition {
  transition: all 0.5s;
}
/* 文本统一样式 */
.amusement .row p {
  font-weight: 400;
}
p {
  text-indent: 2em;
}

.footer {
  margin-bottom: 6.25rem;
}

/*swper*/

/*  适配 */
@media (max-width: 768px) {
  .banner {
    height: 30vh !important;
  }
  .swiper-container {
    height: 30vh !important;
  }

  .swiper-slide .card {
    width: 100%;

    height: auto;
  }

  .el-carousel__container {
    height: 9.375rem !important;
  }
  .message .el-form-item__content {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .teacherImg {
    height: 50vh !important;
    margin-top: 0 !important;
    padding-left: 30px;
    padding-right: 30px;
  }
}
